# -*- coding: utf-8 -*-
'''
计算 BMI
'''
s = input().split(',')
height = float(s[0])
weight = float(s[1])

bmi = weight/(height*height)

# print('\n')
print('BMI数值为:%.2f' % bmi)

international = internal = ''

if bmi < 18.5:
  international = internal = '偏瘦'
elif bmi >= 18.5 and bmi <25:
  international = internal = '正常'
  if bmi >= 24:
    internal = '偏胖'
elif bmi >=25 and bmi <30:
  international = internal = '偏胖'
  if bmi >= 28:
    internal = '肥胖'
else:
  international = internal = '肥胖'

print('BMI指标为:国际\'{0}\',国内\'{1}\''.format(international, internal))
